<template>
    <div align="center">
        <h1 style="color:pink;">三方登录页面</h1>
    
        <van-button  @click="weibo" size="60px"><img src="../image/11111.jpg" width="60px"></van-button>

    </div>
</template>

<script>
export default {
    data() {
        return {};
    },

    mounted() {},

    methods: {
        weibo(){
           this.axios.get("/user/getWeibo").then((resp) => {
               console.log(resp)
               if(resp.data.code==200){
                   window.location.href = resp.data.url
               }
           })
        }
    },
};
</script>

<style scoped>



</style>
